Home Up
Home Teaching Glossary ARM Processors Supplements Prof issues About

The timing diagram shows the output of the instruction memory. This contains the operation ADD r2,r4,r5 which is maintained for the remainder of this clock cycle.

Click here to follow the execution of a data processing instruction.

Executing an instruction step-by step

The contents of the program counter, in this case 00001000, interrogate the instruction memory to read the instruction at that address. In this case the instruction is ADD r2,r4,r5.

The output of the instruction memory will consist of the bits of the instruction that define the operation, the op-code itself. We don’t include this here. These bits will be fed to the ALU to define the operation to be implemented.

The other bits of the instruction are the two source operand addresses corresponding to registers r4 and r5, and the destination operand corresponding to register r2.